import App from './App'
import store from './store'

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

// 公共组件
import publicModule from "@/components/common/public-module.vue";
Vue.component("public-module", publicModule);
// 数据为空组件
import Empty from '@/components/empty/index.vue'
Vue.component('Empty', Empty)
// 数据混入
import mixin from './mixins/index'
Vue.mixin(mixin)

import uitls from "./utils/index";
Vue.use(uitls);


import Vue from 'vue'

// 登录拦截登录拦截
// import './permission'

import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
require('./config/request.js')(app)

app.$mount()